1
general::
Spoil carefully laid plans, as in Now don't upset the applecart by revealing where we're going. This expression started out as upset the cart, used since Roman times to mean "spoil everything." The precise idiom dates from the late 1700s.
American Heritage Idioms